﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MyOrder.aspx.cs" Inherits="Liguo.Store.MyOrder" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>我的订单</title>
    <link rel="stylesheet" href="../css/frame.css" />
    <style type="text/css">
        .auto-style1 {
            width: 104px;
        }

        .bar {
            position: relative;
            left: 80px;
            width: 1200px;
            height: 40px;
            background: #E4393C;
            background: -moz-linear-gradient(top,#E64346,#E13335);
            background: -webkit-gradient(linear,0 0,0 100%,from(#E64346),to(#E13335));
        }

            .bar img {
                height: 38px;
                width: 38px;
            }

            .bar span {
                position: relative;
                top: -7px;
                text-align: center;
                font-family: SimHei;
                font-size: 32px;
                color: #808080;
            }

        .bottom {
            width: 100%;
            height: 40px;
            position: relative;
            top: 40px;
        }

        .order_content {
            position: relative;
            left: 400px;
            width: 1200px;
        }

            .order_content table {
                border: 1px solid;
                border-color: #808080;
            }

            .order_content sapn {
                font-size: 18px;
                color: #ff6a00;
            }

        .pageset {
            position: relative;
            top: 10px;
        }

            .pageset a {
                text-decoration: none;
                height: 20px;
                padding: 3px 10px;
                border: 1px solid #ccc;
                margin-left: 2px;
                font-family: arial;
                line-height: 20px;
                font-size: 14px;
                overflow: hidden;
                -moz-border-radius: 5px;
                -webkit-border-radius: 5px;
            }

                .pageset a:hover {
                    background: #005aa0;
                    color: #fff;
                    text-decoration: none;
                }

        .a_jump {
            width: 30px;
            height: 20px;
            border: 1px solid #ccc;
            margin-left: 2px;
            font-family: arial;
            line-height: 20px;
            font-size: 14px;
            overflow: hidden;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
        }
    </style>
</head>
<body>
    <div class="header">
        <!--兼容IE早期版本的做法，不用在意-->
        <iframe src="Header.aspx" frameborder="no" border="no"></iframe>
    </div>
    <div class="bar">
        <img src="../res/tips/favor.png" />
        <span>我的订单</span>
    </div>
    <div class="order_content">
        <form id="form1" runat="server">
            <strong>我的订单显示</strong>
            <asp:DataList ID="DataList1" runat="server" DataKeyField="ID">
                <ItemTemplate>
                    <table border="1">
                        <tr>
                            <td class="auto-style1"><span>订单编号:</span>
                                <asp:Label ID="IDLabel" runat="server" Text='<%# Eval("ID") %>' />
                                <br />

                            </td>
                            <td><span>下单时间:</span>
                                <asp:Label ID="TimeLabel" runat="server" Text='<%# Eval("Time") %>' />
                                <br />
                            </td>
                            <td><span>订单状态:</span>
                                <asp:Label ID="StatusLabel" runat="server" Text='<%# Eval("Status") %>' />
                                <br />
                            </td>
                        </tr>


                        <tr>
                            <td class="auto-style1"><span>评论:</span>
                                <asp:Label ID="RemarkLabel" runat="server" Text='<%# Eval("Remark") %>' />
                            </td>
                            <td>

                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "OrderDetailInfo.aspx?id="+Eval("ID") %>' Target="_blank">查看详细</asp:HyperLink>

                            </td>

                            <caption>
                                <br />
                            </caption>


                        </tr>
                        <caption>
                            <br />
                        </caption>

                    </table>
                </ItemTemplate>
            </asp:DataList>
            <div class="pageset">
                <asp:LinkButton ID="linkbtnone" runat="server" OnClick="linkbtnone_Click">第一页</asp:LinkButton>

                <asp:LinkButton ID="linkbtnpre" runat="server" OnClick="linkbtnpre_Click">上一页</asp:LinkButton>

                <asp:LinkButton ID="linkbtnnext" runat="server" OnClick="linkbtnnext_Click">下一页</asp:LinkButton>

                <asp:LinkButton ID="linkbtnlast" runat="server" OnClick="linkbtnlast_Click">最后一页</asp:LinkButton>

                <asp:Label ID="labcp" runat="server"></asp:Label>[<asp:Label ID="labpage" runat="server" Text="1"></asp:Label>/<asp:Label ID="labtp" runat="server"></asp:Label>]

                <asp:Button ID="BtnGo" runat="server" Text="GO" CssClass="a_jump" OnClick="BtnGo_Click" />
                <asp:TextBox ID="txtgo" runat="server" Width="40px" CssClass="a_jump" ></asp:TextBox>
                页       
            </div>
        </form>
    </div>
    <div class="bottom">
        <!--兼容IE早期版本的做法，不用在意-->
        <iframe src="Bottom.aspx" frameborder="no" border="no"></iframe>
    </div>
</body>
</html>
